<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <tr>
        <td>id</td>
                <td>name</td>
                <td>price</td>
                <td>counts</td>
                <td>author_id</td>

    </tr>
    {% for item in book_data %}
        <tr>
            <td>{{ item.id}}</td>
            <td>{{ item.name}}</td>
            <td>{{ item.price}}</td>
            <td>{{ item.counts}}</td>
            <td>{{ item.author_id}}</td>
        </tr>

    {% endfor %}

</table>


<a href="/book/add/">跳转到添加</a>
</body>
</html>